package com.cskaoyan.mapper.wx_newOrder;

import com.cskaoyan.bean.wx_newOrder.MarketOrder;
import com.cskaoyan.bean.wx_newOrder.MarketOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface NewMarketOrderMapper {
    long countByExample(MarketOrderExample example);

    int deleteByExample(MarketOrderExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketOrder record);

    int insertSelective(MarketOrder record);

    List<MarketOrder> selectByExample(MarketOrderExample example);

    MarketOrder selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketOrder record, @Param("example") MarketOrderExample example);

    int updateByExample(@Param("record") MarketOrder record, @Param("example") MarketOrderExample example);

    int updateByPrimaryKeySelective(MarketOrder record);

    int updateByPrimaryKey(MarketOrder record);

    void orderConfrimById(Integer orderId, int commentNum);

    void orderRefundById(Integer orderId);

    void deleteByOrderIdInLogic(Integer orderId);
}